package com.ecotope.quartz.module.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author JK
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AccessData implements Serializable {
    private static final long serialVersionUID = 6184382118341304471L;

    private Integer id;
    /**
     * 1：ZD(空气自动质量站)；2：CS（空气质量城市）；3：QX（清新空气自动站）；4：PJ（清新空气评价）； 5:YYS(饮用水);6.Town(乡镇);
     */
    private Integer type;
    /**
     * 数据请求地址
     */
    private String url;
    private String data;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
